<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>首页</title>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<style type="text/css">
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family:"Microsoft YaHei UI";
  scrollbar-width: none;
  -ms-overflow-style: none;
}
::-webkit-scrollbar {
  display: none;
}
header {
  height: 60px;
  line-height: 30px;
  color: #000;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.0);
 }
#sidenav a {
  position: fixed;
  right: -38px;
  transition: 0.3s;
  padding: 14px;
  width: 80px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  color: #f3f3f3;
  border-radius: 5px 0 0 5px;
}
#sidenav a:hover {
  right: 0;
}
#sidenava {
  bottom: 80px;
  background-color: #D7BF63;
  cursor:pointer
}
#sidenavb {
  bottom: 130px;
  background-color: #66C1D1;
}
#sidenavc {
  bottom: 180px;
  background-color: #4CAF50;
}
#sidenavd {
  bottom: 230px;
  background-color: #f44336;
}
#sidenave {
  bottom: 280px;
  background-color: #2196F3;
}
form {
  padding: 60px 0;
  position: relative;
  width: 380px;
  margin: 0 auto;
}			
form .text {
  display: inline-block;
  border: 0;
  padding-left: 5px;
  width: 300px;
  height: 35px;
  font-size: 14px;
  color: #000001;
  outline: none;				
  border: 1px solid #cfcfcf;
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
}			
form .search {		
  width: 80px;
  height: 35px;
  right: 0px;
  border: 1px solid #cfcfcf;
  outline: none;
  cursor: pointer;
  text-align: center;
  line-height: 35px;
  background-color: rgba(33, 150, 243, 0.8);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
  color: #eeeeee;
  position: absolute;
}
.group{
  height:35px;
  font-size: 14px;
  color: #f1f1f1;
  text-shadow: 2px 4px 4px #000000;
  margin-top: 50px;
  display: flex;
  justify-content: center;
}
.row {
  margin: 0 auto;
  width: 62%;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
.column {
  float: left;
  width: 31.33%;
  margin: 2% 1% 2% 1%;
  text-align: center;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
}
.column:hover {
  background-color: rgba(0, 0, 0, 0.6);
}
.card-tit {
  color: #e2e2e2;
  font-size: 14px;
  padding-top: 18px;
  padding-bottom: 12px;
  padding-left: 10px;
  padding-right: 10px;
  height: 40px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
desc-l{
  color: #d0d0d0;
  font-size: 12px;
  padding-top: 6px;
  padding-bottom: 1px;
  padding-left: 10px;
  padding-right: 10px;
  line-height: 1.7;
  height: 50px;
  display:inline-block;   
  text-align:left;
}
desc-h{
  height: 50px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
}
desc-c{
  text-align:center;
}
.lines {
  margin: 0 auto;
  padding: 0px 0px 1px 0px;
  border-bottom: 1px solid #f1f1f1;
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.7);
  width: 60%;
  margin-top: 50px;
}
.footer {
  margin: 0 auto;
  padding: 10px 20px 10px 20px;
  width: 60%;
  font-size: 12px;
  text-align: center;
  color: #f1f1f1;
  text-shadow: 2px 4px 4px #000000;
  line-height: 2;
  margin-top: 10px;
  margin-bottom: -30px;
}
body {
  background: url("");
  background-repeat:repeat;
  overflow-x: hidden;
  overflow-y: auto;
}
.bgimg {
  background: url('https://api.dujin.org/bing/1920.php');
  height: 100%;
  background-attachment:fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 768px) {
header {
  height: 30px;
  }
#sidenav a {
  right: -35px;
  width: 70px;
  }
form {
  width: 250px;
  margin-bottom: -58px;
  }
form .text {
  width: 250px;
  }			
form .search {		
  width: 60px;
  }
.row {
  width: 95%;
  }
.column {
  width: 30.33%;
  margin: 3% 1.5% 3% 1.5%;
}
.card-tit {
  color: #cdcdcd;
  padding: 12px 1px 12px 1px;
  height: 30px;
  }
desc-l{
  color: #bbbbbb;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 1px;
  padding-right: 1px;
  line-height: 1.5;
  height: 33px;
  display:inline-block;   
  text-align:left;
  }
desc-h{
  height: 33px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
  }
.lines {
  width: 90%;
}
.footer {
  padding: 20px 10px 20px 10px;
  width: 90%;
  }
@media screen and (orientation: landscape) {
#sidenava {
  bottom: 10px;
    }
#sidenavb {
  bottom: 60px;
    }
#sidenavc {
  bottom: 110px;
    }
#sidenavd {
  bottom: 160px;
    }
#sidenave {
  bottom: 210px;
    }
.row {
  width: 70%;
    }
.lines {
  width: 70%;
}
.footer {
  width: 70%;
    }
  }
}
  </style>
</head>

<body>

<script>
function myFunction() {
   var element = document.body;
   element.classList.toggle("bgimg");
}
</script>

<!--button onclick="myFunction()">Toggle dark mode</button-->

  <!-- 回到顶部的锚点： -->
  <header id="top"></header>
  <!-- 右侧导航卡： -->
 <div id="sidenav" class="sidenav">
  <a href="#top" id="sidenave">顶部</a>
  <a href="#popular" id="sidenavd">常用</a>
  <a href="#software" id="sidenavc">软件</a>
  <a href="#other" id="sidenavb">其他</a>
  <a onclick="myFunction()" id="sidenava">壁纸</a>
</div> 

<form target="_self" method="get" action="https://cn.bing.com/search?q=">
  <input type="text" autocomplete="off" placeholder="好好学习，天天向上" name="q" class="text" />
  <input type="submit" value="搜索" class="search">
</form>

<!-- 网站的分组锚点： -->
<div popular id="popular">
  <div class="group">
      <p></p>
  </div>
</div>

<div class="row">

  <div class="column">
      <a href="https://gitee.com">
        <div class="card-tit">gitee</div>
        <div class=<desc-c><desc-l><desc-h>开源代码托管平台</div>
      </a>
  </div>

</div>

<div software id="software">
  <div class="group">
      <p>↓</p>
  </div>
</div>

<div class="row">

  <div class="column">
      <a href="https://gitee.com">
        <div class="card-tit">gitee</div>
        <div class=<desc-c><desc-l><desc-h>开源代码托管平台</div>
      </a>
  </div>

</div>

<div other id="other">
  <div class="group">
      <p>↓</p>
  </div>
</div>

<div class="row">

  <div class="column">
      <a href="https://gitee.com">
        <div class="card-tit">gitee</div>
        <div class=<desc-c><desc-l><desc-h>开源代码托管平台</div>
      </a>
  </div>

</div>

<div class="lines"></div>

<div class="footer">
  <p>本站内容源自互联网</p>
  <p>如有内容侵犯了你的权益</p>
  <p>请联系本站删除相关内容</p>
  <p>Copyright © 2023-2030 All Rights Reserved</p>
</div>

</body>
</html>
